<?php

function design_kupon($karyawans){
	$view = '<table style="width: 100%;border:1px solid">';
	$view .='<tr>
	<td style="padding-left:5px;width: 100%;height:25px;font-size:20px;vertical-text-align:middle;text-align:left;border:1px solid" >
		<img src="logokm.png"> <b>&nbsp;PT KRAKATAU MEDIKA</b>
	</td>
	</tr>';
	$view .='<tr>
	<td style="width: 100%;border:1px solid" > 
		<div style="font-size:18px;margin:5px 20px 5px 20px;padding:3px;border:1px solid;text-align:center;"> KUPON MEDICAL CHECK UP</div>
		<div style="margin:5px 20px 5px 20px;padding:3px;text-align:center;">
		<span style="font-size:12px;font-family:Times">Berlaku di Rumah Sakit Krakatau Medika</span>
		<br><span style="font-size:11px;font-family:Times">Sampai dengan: <b>01 Agustus 2010</b></span>
		</div>';;
	$view .='<table style="width:100%;font-size:12px;"><tr>
	<td style="width:35%">Nama lengkap	</td>
	<td style="width:65%">SI Fulan ABdulah</td>
	</tr>';
	$view .='<tr>
	<td style="width:35%">NIK Karyawan	</td>
	<td style="width:65%">000000</td>
	</tr>';
	$view .='<tr>
	<td style="width:35%">Jenis Paket</td>
	<td style="width:65%">Paket Hemat per Irit</td>
	</tr></table><br><br>';
	$view .='<table style="width:100%;font-size:12px;"><tr>
	<td style="width:65%">&nbsp;</td>
	<td style="width:35%;text-align:center;">
	<span style="font-size:10px;">Cilegon, 05 Juni 2010</span>
	<br><span style="font-size:9px;">PT KRAKATAU MEDIKA</span><br><br>
	<br>
	<span style="font-size:11px;"><u>Harry Suciptadi</u></span>
	<span style="font-size:10px;">Manager SDM</span>
	</td>
	</tr></table>';	
	$view .='</td>
	
	</tr>';
	
	$view .='</table><br>';
	return $view;
}
?>
<style type="text/css">
<!--

	table.page_header {width: 100%;  border: solid 1mm #000; padding: 2px }
	table.page_footer {width: 100%; border: none;  border-top: solid 1mm #000; padding: 2mm}
div.zone
{
	border: solid 2mm #66AACC;
	border-radius: 3mm;
	padding: 1mm;
	background-color: #FFEEEE;
	color: #440000;
}
div.zone_over
{
	width: 30mm;
	height: 35mm;
	overflow: hidden;
}

-->
</style>

<table  style="width: 100%;">
	<tr>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
		<td style="width: 4%;">&nbsp;</td>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
	</tr>
	<tr>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
		<td style="width: 4%;">&nbsp;</td>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
	</tr>
	<tr>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
		<td style="width: 4%;">&nbsp;</td>
		<td style="width: 48%;">
			<?php echo design_kupon(''); ?>
		</td>
	</tr> 
</table>
 